package com.ftg.learn.chapter13.lambda.demo;

/**
 * @author kangjx
 * @createTime 2022/8/10
 */
@FunctionalInterface
public interface Duanyan<T> {

    /**
     * 断言型
     * @param source 源字符串
     * @param target  目标
     * @return
     */
    boolean test(T source,T target);

}
